[INFO] cloning repository https://github.com/StelarCF/genetic_test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StelarCF/genetic_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStelarCF%2Fgenetic_test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStelarCF%2Fgenetic_test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2ce0fbb3519cc2f7744dea052092da06b09d720a
[INFO] checking StelarCF/genetic_test against master#fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStelarCF%2Fgenetic_test" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/StelarCF/genetic_test on toolchain fdca237d5194bf8a1c9b437ebd2114d1c2ba6195
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/StelarCF/genetic_test
[INFO] finished tweaking git repo https://github.com/StelarCF/genetic_test
[INFO] tweaked toml for git repo https://github.com/StelarCF/genetic_test written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/StelarCF/genetic_test already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] bf6c65c6084ee1d6cb0288e5a395176b3e1663ee5596a554f4cb72ce6c1e820d
[INFO] running `Command { std: "docker" "start" "-a" "bf6c65c6084ee1d6cb0288e5a395176b3e1663ee5596a554f4cb72ce6c1e820d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf6c65c6084ee1d6cb0288e5a395176b3e1663ee5596a554f4cb72ce6c1e820d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf6c65c6084ee1d6cb0288e5a395176b3e1663ee5596a554f4cb72ce6c1e820d", kill_on_drop: false }`
[INFO] [stdout] bf6c65c6084ee1d6cb0288e5a395176b3e1663ee5596a554f4cb72ce6c1e820d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f6c66dc0f0b18f43a6e27568e547b93d4ea1cfae3a6c59914bbaf7a6b4d79c32
[INFO] running `Command { std: "docker" "start" "-a" "f6c66dc0f0b18f43a6e27568e547b93d4ea1cfae3a6c59914bbaf7a6b4d79c32", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.13
[INFO] [stderr]     Checking rand v0.3.14
[INFO] [stderr]     Checking genetic_test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:247:13
[INFO] [stdout]     |
[INFO] [stdout] 247 |         for mut muscle in &mut self.muscles {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:384:36
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let fitness = test_fitness(creature);
[INFO] [stdout]     |                       ------------ ^^^^^^^^
[INFO] [stdout]     |                       |            |
[INFO] [stdout]     |                       |            expected `&mut Creature`, found struct `Creature`
[INFO] [stdout]     |                       |            help: consider mutably borrowing here: `&mut creature`
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:372:4
[INFO] [stdout]     |
[INFO] [stdout] 372 | fn test_fitness(creature: &mut Creature) -> f64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^ -----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:386:41
[INFO] [stdout]     |
[INFO] [stdout] 386 |             let fitness2 = test_fitness(creature);
[INFO] [stdout]     |                            ------------ ^^^^^^^^
[INFO] [stdout]     |                            |            |
[INFO] [stdout]     |                            |            expected `&mut Creature`, found struct `Creature`
[INFO] [stdout]     |                            |            help: consider mutably borrowing here: `&mut creature`
[INFO] [stdout]     |                            arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:372:4
[INFO] [stdout]     |
[INFO] [stdout] 372 | fn test_fitness(creature: &mut Creature) -> f64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^ -----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `genetic_test` due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]    --> src/main.rs:222:5
[INFO] [stdout]     |
[INFO] [stdout] 217 | struct Creature {
[INFO] [stdout]     |        -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 222 |     id: i64
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]     = note: `Creature` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `next_id` should have an upper case name
[INFO] [stdout]   --> src/main.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | static mut next_id : i64 = 0;
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper case: `NEXT_ID`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f6c66dc0f0b18f43a6e27568e547b93d4ea1cfae3a6c59914bbaf7a6b4d79c32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6c66dc0f0b18f43a6e27568e547b93d4ea1cfae3a6c59914bbaf7a6b4d79c32", kill_on_drop: false }`
[INFO] [stdout] f6c66dc0f0b18f43a6e27568e547b93d4ea1cfae3a6c59914bbaf7a6b4d79c32
